package com.sikaryofficial.system.api.domain;

import com.sikaryofficial.common.core.annotation.Excel;
import com.sikaryofficial.common.core.web.domain.BaseEntity;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * 第三方登录用户对象 sys_user_oauth
 *
 * @author qinjinyuan
 * @date 2024-05-31
 */
@ToString
@Getter
@Setter
public class SysUserOauth extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 用户UUID
     */
    private String uuid;

    /**
     * sys_user表用户ID
     */
    @Excel(name = "sys_user表用户ID")
    private Long userId;


    /**
     * 帐号状态（0正常 1解绑）
     */
    @Excel(name = "帐号状态", readConverterExp = "0=正常,1=解绑")
    private String status;

    /**
     * 用户名称
     */
    @Excel(name = "用户名称")
    private String userName;

    /**
     * 昵称
     */
    @Excel(name = "昵称")
    private String nickName;

    /**
     * 头像
     */
    @Excel(name = "头像")
    private String avatar;

    /**
     * 博客
     */
    @Excel(name = "博客")
    private String blog;

    /**
     * 公司
     */
    @Excel(name = "公司")
    private String company;

    /**
     * location
     */
    @Excel(name = "location")
    private String location;

    /**
     * 邮箱
     */
    @Excel(name = "邮箱")
    private String email;

    /**
     * 来源：google,facebook,douyin,twitter,whatsapp
     */
    @Excel(name = "来源：google,facebook,douyin,twitter,whatsapp")
    private String source;

    /**
     * 删除版本：默认为0；删除则赋值当前记录主键ID
     */
    @Excel(name = "删除版本：默认为0；删除则赋值当前记录主键ID")
    private String deletedVersion;
}
